package com.nxy.test.reflect;

/**
 * Created by snailnan on 2017/2/21.
 */
public class ReflectUntil {

    public static String getClassName(Object obj){
        return obj.getClass().getName();
    }

    public static Class getClass (String className){
        try {
            return Class.forName(className);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
            return null;
        }
    }
}
